﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UsersList.aspx.cs" Inherits="kim.UsersList" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>管理员一览</title>
    <link rel="stylesheet" type="text/css" href="../img/style.css" />
    <%--<link href="../../css/pagination.css" rel="stylesheet" type="text/css" />--%>
    <script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../js/jquery.pagination.js"></script>
    <script type="text/javascript" src="../js/function.js"></script>
    <script type="text/javascript">


        $(function () {
            $(".msgtable tr:nth-child(odd)").addClass("tr_bg"); //隔行变色
            $(".msgtable tr").hover(
			    function () {
			        $(this).addClass("tr_hover_col");
			    },
			    function () {
			        $(this).removeClass("tr_hover_col");
			    }
		    );
        });
    </script>
</head>
<body style="padding:10px;">
    <form id="form1" runat="server">
    <div class="navigation"><span class="add"><a href="AddorEditUsers.aspx?type=Add">管理员添加</a></span><b>您当前的位置：首页 
        &gt; 会员管理 &gt; </b>管理员列表</div>
    <div class="spClear"></div>
    <div class="spClear"></div>
    <asp:Repeater ID="rptlist" runat="server">
    <HeaderTemplate>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
      <tr>
        <th width="12%">编号</th>
        <th align="left">用户名</th>
         <th  align="left">使用状态</th>
        <th  align="left">登录次数</th>
       
        <th width="26%">操作</th>
      </tr>
      </HeaderTemplate>
      <ItemTemplate>
      <tr>
        <td align="center"><asp:Label ID="lb_id" runat="server" Text='<%#Eval("ID")%>'></asp:Label></td>
        <td><%#Eval("AdminName")%></td>
         <td><%# Eval("state").ToString()=="1" ? "<FONT color=#005EAC>开通</font>" : "<FONT color=#FF3300>禁用</font>"%></td>
         <td><%#Eval("loginNum")%></td>
        <td align="center"> <a href="UpPass.aspx?type=Edit&id=<%#Eval("ID")%>">修改密码</a>
        <a href="AddorEditUsers.aspx?type=Delete&id=<%#Eval("ID")%>">删除</a>
        </td>

      </tr>
      </ItemTemplate>
      <FooterTemplate>
      </table>
      </FooterTemplate>
      </asp:Repeater>

    <div class="spClear"></div>
        <div style="line-height:30px;height:30px;">
            <div id="Pagination" class="right flickr"></div>
             <div class="pagination">
        <%=StrPage%>
    </div>
            
	</div>
    </form>
</body>
</html>